<html>
<body>
<?php
for ($i=1; $i<=5; $i++)
{
	echo $i."<br/>" ;
}

$a = array("orange", "apple","peach");
foreach ($a as $value)
{
	echo $value."<br />";

}

$b = array("os"=>"Windows XP", "lang"=>"Chinese","sp"=>"Service Pack 3");
foreach ($b as $key => $value)
{
	echo $key.": ".$value."<br />";

}
?>
</body>

</html>
